package com.sdy.dcsb.biz.service.impl;

import com.sdy.dcsb.biz.mapper.EsbSystemServiceMapper;
import com.sdy.dcsb.biz.model.EsbSystemService;
import com.sdy.dcsb.biz.model.EsbSystemServiceJoint;
import com.sdy.dcsb.biz.service.EsbSystemServiceService;
import com.sdy.mvc.service.impl.BaseServiceImpl;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 标准服务控制表 服务实现类
 * </p>
 *
 * @author fb
 * @since 2019-09-29
 */
@Slf4j
@Service
public class EsbSystemServiceServiceImpl extends BaseServiceImpl<EsbSystemService> implements EsbSystemServiceService {
    @Autowired
    private EsbSystemServiceMapper esbSystemServiceMapper;
    @Autowired
    private EsbSystemServiceService esbSystemServiceService;

    @Override
    public List<EsbSystemServiceJoint> findServiceConsumer(Integer serviceid, Integer current, Integer size) {
        return esbSystemServiceMapper.findServiceConsumer(serviceid, current, size);
    }

    @Override
    public List<EsbSystemServiceJoint> findServiceConsumerCount(Integer serviceid) {
        return esbSystemServiceMapper.findServiceConsumerCount(serviceid);
    }

}
